package vip.wangwenhao.page;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
*  
*
* @author wwh
*
*/

@Data
public class PageParam {
    private Integer pageNo = 1;
    private Integer pageSize = 10;
    private List<SortParam> sortParams;

    /**
     * "e":"age" 存在age字段
     * "m":"age" 缺失age字段
     * "q":"搜索关键词" 关键词搜索
     * "字段名+Range from 后缀":值 从这个值开始 ps:"ageFrom":23
     * "字段名+Range to 后缀":值 到这个值结束 ps:"ageTo":25
     */
    private Map<String,String> ext;
}